<template>
    <div id="app">
      <h2>App根组件-Vuex</h2>
      <!--使用-->
      <first></first>
      <second></second>
    </div>
</template>

<script>
// 导入
import First from './components/First'
import Second from './components/Second'
export default {
  name: 'app',
  // 注册
  components: {
    First,
    Second
  }
}
</script>

<style lang="less" scoped>
#app{
  width: 400px;
  height: 600px;
  border:2px solid red;
}
</style>
